package com.ai.manager.edu.confcent.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.ai.dao.edu.confcent.ThirdPartyCallerMapper;
import com.ai.manager.edu.confcent.ThirdPartyCallerManager;
import com.ai.model.edu.user.ThirdPartyCaller;
import com.ai.model.edu.user.dto.ThirdPartyCallerDTO;
import com.ai.model.edu.user.vo.ThirdPartyCallerVO;

@Component("thirdPartyCallerManager")
public class ThirdPartyCallerManagerImpl implements ThirdPartyCallerManager {
	
	@Resource
	private ThirdPartyCallerMapper thirdPartyCallerMapper;

	@Override
	public void delThirdPartyCallerByID(Long id) {
		thirdPartyCallerMapper.delThirdPartyCallerByID(id);
	}

	@Override
	public void insert(ThirdPartyCaller record) {
		thirdPartyCallerMapper.insert(record);
	}

	@Override
	public ThirdPartyCallerVO selectByPrimaryKey(Long id) {
		return thirdPartyCallerMapper.selectByPrimaryKey(id);
	}

	@Override
	public void updateByPrimaryKeySelective(ThirdPartyCallerDTO record) {
		thirdPartyCallerMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public List<ThirdPartyCallerVO> findThirdPartyCallerByDto(
			ThirdPartyCallerDTO dto) {
		return thirdPartyCallerMapper.findThirdPartyCallerByDto(dto);
	}

	@Override
	public Long countThirdPartyCallerByDto(ThirdPartyCallerDTO dto) {
		return thirdPartyCallerMapper.countThirdPartyCallerByDto(dto);
	}

	
}